<?php
// Define Portal ID -- CHANGE ID IN DIFFERENT APPLICATION
define('PORTAL_ID',0);

// Define hostname 
define('HOST_NAME','http://localhost:81/hns/');

// Define root path
define('ROOT_PATH', dirname(__FILE__));

// System path
define('SYSTEM_PATH', dirname(dirname(ROOT_PATH)));

// Define separator
define('SEPARATOR','\\');

// Define layout path
define('LAYOUT_PATH', SYSTEM_PATH.SEPARATOR.'layouts');

// Define Library path
define('LIBRARY_PATH', SYSTEM_PATH.SEPARATOR.'lib');

// Database Connection
mysql_connect('localhost','root','123456');
mysql_select_db('hns_portal');

// Load the framework
require_once(LIBRARY_PATH.SEPARATOR.'HBase.php');

// Define Error pages

$GLOBALS['ERRORPAGES']	= array(
		'404'=>'error/404.php',
		'500'=>'error/500.php'
	);